package com.junqi.msg.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class UserOfflineEvent extends ApplicationEvent {
    private final String userId;
    private final String roomId;

    public UserOfflineEvent(Object source, String userId, String roomId) {
        super(source);
        this.userId = userId;
        this.roomId = roomId;
    }
}
